<%--
  Created by IntelliJ IDEA.
  User: 苏清涂
  Date: 2021/6/7
  Time: 9:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table border="1">
        <tr>
            <td>类别</td>
            <td>品种</td>
            <td>产地</td>
            <td>总重量</td>
            <td>单价</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${list}" var="a">
            <tr>
                <td>${a.type}</td>
                <td>${a.breed}</td>
                <td>${a.area}</td>
                <td>${a.weight}</td>
                <td>${a.price}</td>
                <td>
                    <a href="DeleteServlet?fruitId=${a.fruitId}">删除</a>
                </td>
            </tr>
        </c:forEach>
        <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    </table>
</body>
</html>
